package com.ltmonitor.jt809.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 上级平台要求提供的车辆注册信息
 * @author DELL
 *
 */

@Entity
@Table(name="VehicleRegisterInfo")
@org.hibernate.annotations.Proxy(lazy = false)
public class VehicleRegisterInfo implements Serializable{
	public VehicleRegisterInfo()
	{
	  createDate = new Date();
	  updateDate = new Date();
	}
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "vehicleId", unique = true, nullable = false)
	private long entityId;
	public  long getEntityId() {
		return entityId;
	}
	public  void setEntityId(long value) {
		entityId = value;
	}
	
	
	private String plateNo;
	
	private int plateColor;
	//平台ID
	private String plateformId;
	//终端厂商ID
	private String terminalVendorId;
	//终端型号
	private String terminalModel;
	//终端ID
	private String terminalId;
	//sim卡号
	private String simNo;
	//更新时间
	private Date updateDate;
	/**
	 * 部门Id
	 */
	private long depId;
	//创建时间
	private Date createDate;

	public String getPlateNo() {
		return plateNo;
	}

	public void setPlateNo(String plateNo) {
		this.plateNo = plateNo;
	}

	public int getPlateColor() {
		return plateColor;
	}

	public void setPlateColor(int plateColor) {
		this.plateColor = plateColor;
	}

	public String getPlateformId() {
		return plateformId;
	}

	public void setPlateformId(String plateformId) {
		this.plateformId = plateformId;
	}

	public String getTerminalVendorId() {
		return terminalVendorId;
	}

	public void setTerminalVendorId(String terminalVendorId) {
		this.terminalVendorId = terminalVendorId;
	}

	public String getTerminalModel() {
		return terminalModel;
	}

	public void setTerminalModel(String terminalModel) {
		this.terminalModel = terminalModel;
	}

	public String getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}

	public String getSimNo() {
		return simNo;
	}

	public void setSimNo(String simNo) {
		this.simNo = simNo;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}


	public long getDepId() {
		return depId;
	}

	public void setDepId(long depId) {
		this.depId = depId;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}
